package com.dogborther.utils;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class ChopstickStatusImagePath implements InitializingBean {
    @Value("${image.spoon.takeUp}")
    private String takeUp;
    @Value("${image.spoon.dropDown}")
    private String dropDown;


    public static String TAKE_UP;
    public static String DROP_DOWN;

    @Override
    public void afterPropertiesSet() throws Exception {
        TAKE_UP = this.takeUp;
        DROP_DOWN = this.dropDown;

    }
}
